package com.gtw.modules.dao;

import com.gtw.modules.entity.TbProvinec;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/** 省份
 * @author wuye
 */
@Mapper
@Repository
public interface TbProvinecDao {

    int deleteByPrimaryKey(Integer provinceid);

    int insert(TbProvinec record);

    int insertSelective(TbProvinec record);

    TbProvinec selectByPrimaryKey(Integer provinceid);

    int updateByPrimaryKeySelective(TbProvinec record);

    int updateByPrimaryKey(TbProvinec record);

    /**
     * 查询所有省份
     * @return
     */
    List<TbProvinec> findAll();
}